package com.ting.dao;


import com.ting.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface UserDAO {
    void save(User user);

    User findByUserName(String username);


}
